#ifndef BASE_GLOBALS_H
#define BASE_GLOBALS_H

#include "defines.h"
#include "base_conf.h"
#include "base_log.h"

EBaseError globals_init();
void globals_fini();
void globals_change_log_level(EBaseLogLevel level);

/// Globals are limited used between globals_init() and globals_fini()
/// You can't use it in your constructor of static variable
/// Please remember to call global_fini before exit()
Globals* globals();

#endif